package com.excellence.mapper;

import com.excellence.pojo.Crop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 沈秉璋
 * @description 针对表【crop】的数据库操作Mapper
 * @createDate 2024-04-08 09:33:27
 * @Entity pojo.Crop
 */
@Mapper
public interface CropMapper {

    int deleteByPrimaryKey(long id);

    int insert(Crop record);

    int insertSelective(Crop record);

    List<Crop> selectByMassifId(Integer massifId);

    List<Crop> selectAll();

    int updateByPrimaryKeySelective(Crop record);

    int updateByPrimaryKey(Crop record);

}
